@import "../styles/variables";

.vant-simulator {
  position: absolute;
  top: 90px;
  right: 24px;
  z-index: 1;
  box-sizing: border-box;
  width: 360px;
  min-width: 360px;
  overflow: hidden;
  background: #fafafa;
  border-radius: $vant-border-radius;
  box-shadow: 0 8px 12px #ebedf0;

  iframe {
    display: block;
    width: 100%;
    height: 640px;
  }

  &-fixed {
    position: fixed;
    top: 24px;
  }
}

@media (min-width: 1680px) {
  .vant-simulator {
    right: 50%;
    margin-right: -816px;
  }
}

@media (max-width: 1100px) {
  .vant-simulator {
    right: auto;
    left: 750px;
  }
}
